package com.balabala.gym_system.service;

import com.balabala.goods.pojo.dto.BookCourseQueryDto;
import com.balabala.goods.pojo.vo.BookCourseDto;
import com.balabala.gym_system.pojo.dto.ReservationListDto;
import com.balabala.gym_system.pojo.entity.ReservationList;
import com.balabala.gym_system.pojo.vo.ReservationVo;

import java.util.List;

public interface ReservationListService {

    //根据条件分页查询预约课程信息
    List<ReservationVo> findByDto(ReservationListDto reservationListDto);

    //根据预约课程id删除预约课程表
    void deleteReservation (Long id);

    //根据条件查找预约课程记录
    List<ReservationVo> findByQueryDto(BookCourseQueryDto reservationListDto);
}
